package com.richinfo.buddy.web.account.model.resp;

import io.swagger.annotations.*;

import java.util.Date;

@ApiModel
public class UserResponse implements java.io.Serializable {

    /** 账号id **/
	@ApiModelProperty("账号id")
    private String userId;

    /** 用户类型：00-个人 **/
	@ApiModelProperty("用户类型：00-个人")
    private String userType;

    /** 用户关联关系表id **/
	@ApiModelProperty("用户关联关系表id")
    private String userRelId;

    /** 用户登录名是唯一的 **/
	@ApiModelProperty("用户登录名是唯一的")
    private String userName;

    /** 密码 **/
	@ApiModelProperty("密码")
    private String userPwd;

    /** 手机号 **/
	@ApiModelProperty("手机号")
    private String userPhone;

    /** 邮箱 **/
	@ApiModelProperty("邮箱")
    private String userEmail;

    /** 用户角色   角色信息表 code 字段，以逗号分隔 **/
	@ApiModelProperty("用户角色   角色信息表 code 字段，以逗号分隔")
    private String userRoles;

    /** 01-正常 02-封禁 **/
	@ApiModelProperty("01-正常 02-封禁")
    private String state;

    /** 密码错误次数 **/
	@ApiModelProperty("密码错误次数")
    private Integer errorTimes;

    /** 最后登陆时间 **/
	@ApiModelProperty("最后登陆时间")
    private Date lastLogintime;

    /** 用户名修改次数 **/
	@ApiModelProperty("用户名修改次数")
    private Integer accountTimes;

    /** 等级id **/
	@ApiModelProperty("等级id")
    private String gradeId;

    /** 用户积分 **/
	@ApiModelProperty("用户积分")
    private Integer userPoints;

    /** 微信openid **/
	@ApiModelProperty("微信openid")
    private String wechatOpenid;

    /** 微信unionid **/
	@ApiModelProperty("微信unionid")
    private String wechatUnionid;

    /** 创建人id **/
	@ApiModelProperty("创建人id")
    private String creUserId;

    /** 创建人名称 **/
	@ApiModelProperty("创建人名称")
    private String creUserName;

    /** 创建时间 **/
	@ApiModelProperty("创建时间")
    private Date creDate;

    /** 修改人id **/
	@ApiModelProperty("修改人id")
    private String updUserId;

    /** 修改人名称 **/
	@ApiModelProperty("修改人名称")
    private String updUserName;

    /** 修改时间 **/
	@ApiModelProperty("修改时间")
    private Date updDate;

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserType(String userType) {
        this.userType = userType == null ? null : userType.trim();
    }

    public String getUserType() {
        return this.userType;
    }

    public void setUserRelId(String userRelId) {
        this.userRelId = userRelId == null ? null : userRelId.trim();
    }

    public String getUserRelId() {
        return this.userRelId;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd == null ? null : userPwd.trim();
    }

    public String getUserPwd() {
        return this.userPwd;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone == null ? null : userPhone.trim();
    }

    public String getUserPhone() {
        return this.userPhone;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public String getUserEmail() {
        return this.userEmail;
    }

    public void setUserRoles(String userRoles) {
        this.userRoles = userRoles == null ? null : userRoles.trim();
    }

    public String getUserRoles() {
        return this.userRoles;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getState() {
        return this.state;
    }

    public void setErrorTimes(Integer errorTimes) {
        this.errorTimes = errorTimes;
    }

    public Integer getErrorTimes() {
        return this.errorTimes;
    }

    public void setLastLogintime(Date lastLogintime) {
        this.lastLogintime = lastLogintime;
    }

    public Date getLastLogintime() {
        return this.lastLogintime;
    }

    public void setAccountTimes(Integer accountTimes) {
        this.accountTimes = accountTimes;
    }

    public Integer getAccountTimes() {
        return this.accountTimes;
    }

    public void setGradeId(String gradeId) {
        this.gradeId = gradeId == null ? null : gradeId.trim();
    }

    public String getGradeId() {
        return this.gradeId;
    }

    public void setUserPoints(Integer userPoints) {
        this.userPoints = userPoints;
    }

    public Integer getUserPoints() {
        return this.userPoints;
    }

    public void setWechatOpenid(String wechatOpenid) {
        this.wechatOpenid = wechatOpenid == null ? null : wechatOpenid.trim();
    }

    public String getWechatOpenid() {
        return this.wechatOpenid;
    }

    public void setWechatUnionid(String wechatUnionid) {
        this.wechatUnionid = wechatUnionid == null ? null : wechatUnionid.trim();
    }

    public String getWechatUnionid() {
        return this.wechatUnionid;
    }

    public void setCreUserId(String creUserId) {
        this.creUserId = creUserId == null ? null : creUserId.trim();
    }

    public String getCreUserId() {
        return this.creUserId;
    }

    public void setCreUserName(String creUserName) {
        this.creUserName = creUserName == null ? null : creUserName.trim();
    }

    public String getCreUserName() {
        return this.creUserName;
    }

    public void setCreDate(Date creDate) {
        this.creDate = creDate;
    }

    public Date getCreDate() {
        return this.creDate;
    }

    public void setUpdUserId(String updUserId) {
        this.updUserId = updUserId == null ? null : updUserId.trim();
    }

    public String getUpdUserId() {
        return this.updUserId;
    }

    public void setUpdUserName(String updUserName) {
        this.updUserName = updUserName == null ? null : updUserName.trim();
    }

    public String getUpdUserName() {
        return this.updUserName;
    }

    public void setUpdDate(Date updDate) {
        this.updDate = updDate;
    }

    public Date getUpdDate() {
        return this.updDate;
    }

}
